package acessed;
public class Demo {
    public static void main(String[] args) {

    }
    public void publicShow(){

    }

    protected void protectedShow(){

    }

    void defaultShow(){

    }

    private void privateShow(){

    }

    //同一个类
    public void show(){
        publicShow();
        protectedShow();
        defaultShow();
        privateShow();
    }

}
